package com.pro.common.api.pay.model.dto;

import com.pro.common.api.enums.init.EnumCountry;
import com.pro.common.api.enums.init.EnumCurrency;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 三方代收 系统内部参数
 */
@Data
@Builder
public class PaymentParamDTO {
    @Schema(description = "支付成功后回调地址")
    private String notifyUrl;
    @Schema(description = "支付成功后用户页面跳转地址")
    private String returnUrl;
    @Schema(description = "当前时间_毫秒时间戳", example = "1748402011844")
    private Long now_millis;//now
    @Schema(description = "当前时间_国际时间格式")//2025-01-01 00:00:00
    private String now_yyyy_MM_dd_HH_mm_ss;
    @Schema(description = "当前时间_国际时间格式去掉分隔符", example = "20250101000000")
    private String now_yyyyMMddHHmmss;

    @Schema(description = "支付单号")
    private String no;
    @Schema(description = "订单金额")
    private BigDecimal orderAmount;
    @Schema(description = "用户当前ip")
    private String ip;
    @Schema(description = "货币")
    private EnumCurrency currency;
    @Schema(description = "国家")
    private EnumCountry country;

    @Schema(description = "支付方式")
    private String payMethod;
    @Schema(description = "订单标题")
    private String subject;
}
